package self.hoy.demo.cloud.seata.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import self.hoy.demo.cloud.seata.entity.TOrder;

/**
 * @author 三共小不
 * @date 2020/6/20
 */
@Mapper
public interface OrderDao {

    void create(TOrder order);

    void update(@Param("id") Long id, @Param("status") Integer status);
}
